package com.eascs.admin.o2o.backfee.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="EADB.O2O_LOANAPPLY")
public class OaBackFeeEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -9207775922052349185L;
	/**
	 * 贷款编号
	 */
	@Id
	@Column(name="LOANAPPLYNO")
	private String loanapplyno;
	
	@Column(name="BILLCODE")
	private String billCode;
	/**
	 * 客户名称
	 */
	@Column(name="CUSTOMERNAME")
	private String custermName;
	/**
	 * 借款人姓名
	 */
	@Column(name="LOANERNAME")
	private String userName;
	/**
	 * 申请金额
	 */
	@Column(name="LOANAMOUNT")
	private BigDecimal loanMount;
	/**
	 * 贷款期限
	 */
	@Column(name="LOANTERM")
	private BigDecimal loanTerm;
	/**
	 * 还款方式
	 */
	@Column(name="REPAYMENTWAY")
	private String repaymentWay;
	/**
	 * 利率
	 */
	@Column(name="LOANRATE")
	private BigDecimal loanRate;
	/**
	 * 信贷经理姓名
	 */
	@Column(name="OPERATORNAME")
	private String operator;
	
	/**
	 * 信贷经理姓名
	 */
	@Column(name="OPERATORNO")
	private String operatorno;
	/**
	 * 担保方式
	 */
	@Column(name="GUARANTEEWAY")
	private String guaranteeWay;
	/**
	 * 应收保证金
	 */
	@Column(name="DEPOSITRATE")
	private BigDecimal receivableBond;
	/**
	 * 实收保证金
	 */
	@Column(name="EXISTDEPOSIT")
	private BigDecimal netReceiptsBond;
	/**
	 * 已退保证金
	 */
	@Column(name="UNDEPOSIT")
	private BigDecimal retiredBond;
	/**
	 * 未退保证金
	 */
	@Column(name="WEIPOSIT")
	private BigDecimal notRetreatBond;
	/**
	 * 应收管理费
	 */
	@Column(name="MANAGEFEERATE")
	private BigDecimal receivableFee;
	/**
	 * 实收管理费
	 */
	@Column(name="MANAGEFEE")
	private BigDecimal netReceiptsFee;
	/**
	 * 已退管理费
	 */
	@Column(name="EXISTMANAGEFEE")
	private BigDecimal retiredFee;
	/**
	 * 未退管理费
	 */
	@Column(name="WEIMANAGEFEE")
	private BigDecimal notRetreatFee;
	/**
	 * 应收风险保证金
	 */
	@Column(name="RISKDEPOSITRATE")
	private BigDecimal receivableRisk;
	/**
	 * 实收风险保证金
	 */
	@Column(name="EXISTRISKDEPOSIT")
	private BigDecimal netReceiptsRisk;
	/**
	 * 已退风险保证金
	 */
	@Column(name="UNRISKDEPOSIT")
	private BigDecimal retiredRisk;
	/**
	 * 未退风险保证金
	 */
	@Column(name="WEIUNRISKDEPOSIT")
	private BigDecimal notRetreatRisk;
	/**
	 * 经营单位
	 */
	@Column(name="NAMECN")
	private String namecn;
	
	/**
	 * 经营单位
	 */
	@Column(name="LTD")
	private String ltd;
	
	/**
	 * 送审银行
	 */
	@Column(name="BANKTYPE")
	private String bankType;
	
	
	/**
	 * 产品类型
	 */
	@Column(name="LOAN_TYPE")
	private String loanType;
	
	
	/**
	 * 申请日期
	 */
	@Column(name="SUBMITDATE")
	private Date createDate;
	
	/**
	 * 借款人身份证号
	 */
	@Column(name="IDCARD")
	private String idcard;
	
	/**
	 * 借款人电话号码
	 */
	@Column(name="MOBILE")
	private String mobile;
	
	@Column(name="PAYDATE")
	private Date paydate;
	
	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	public String getCustermName() {
		return custermName;
	}

	public void setCustermName(String custermName) {
		this.custermName = custermName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public BigDecimal getLoanMount() {
		return loanMount;
	}

	public void setLoanMount(BigDecimal loanMount) {
		this.loanMount = loanMount;
	}

	public BigDecimal getLoanTerm() {
		return loanTerm;
	}

	public void setLoanTerm(BigDecimal loanTerm) {
		this.loanTerm = loanTerm;
	}

	public String getRepaymentWay() {
		return repaymentWay;
	}

	public void setRepaymentWay(String repaymentWay) {
		this.repaymentWay = repaymentWay;
	}

	public BigDecimal getLoanRate() {
		return loanRate;
	}

	public void setLoanRate(BigDecimal loanRate) {
		this.loanRate = loanRate;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getGuaranteeWay() {
		return guaranteeWay;
	}

	public void setGuaranteeWay(String guaranteeWay) {
		this.guaranteeWay = guaranteeWay;
	}

	public BigDecimal getReceivableBond() {
		return receivableBond;
	}

	public void setReceivableBond(BigDecimal receivableBond) {
		this.receivableBond = receivableBond;
	}

	public BigDecimal getNetReceiptsBond() {
		return netReceiptsBond;
	}

	public void setNetReceiptsBond(BigDecimal netReceiptsBond) {
		this.netReceiptsBond = netReceiptsBond;
	}

	public BigDecimal getRetiredBond() {
		return retiredBond;
	}

	public void setRetiredBond(BigDecimal retiredBond) {
		this.retiredBond = retiredBond;
	}

	public BigDecimal getNotRetreatBond() {
		return notRetreatBond;
	}

	public void setNotRetreatBond(BigDecimal notRetreatBond) {
		this.notRetreatBond = notRetreatBond;
	}

	public BigDecimal getReceivableFee() {
		return receivableFee;
	}

	public void setReceivableFee(BigDecimal receivableFee) {
		this.receivableFee = receivableFee;
	}

	public BigDecimal getNetReceiptsFee() {
		return netReceiptsFee;
	}

	public void setNetReceiptsFee(BigDecimal netReceiptsFee) {
		this.netReceiptsFee = netReceiptsFee;
	}

	public BigDecimal getRetiredFee() {
		return retiredFee;
	}

	public void setRetiredFee(BigDecimal retiredFee) {
		this.retiredFee = retiredFee;
	}

	public BigDecimal getNotRetreatFee() {
		return notRetreatFee;
	}

	public void setNotRetreatFee(BigDecimal notRetreatFee) {
		this.notRetreatFee = notRetreatFee;
	}

	public BigDecimal getReceivableRisk() {
		return receivableRisk;
	}

	public void setReceivableRisk(BigDecimal receivableRisk) {
		this.receivableRisk = receivableRisk;
	}

	public BigDecimal getNetReceiptsRisk() {
		return netReceiptsRisk;
	}

	public void setNetReceiptsRisk(BigDecimal netReceiptsRisk) {
		this.netReceiptsRisk = netReceiptsRisk;
	}

	public BigDecimal getRetiredRisk() {
		return retiredRisk;
	}

	public void setRetiredRisk(BigDecimal retiredRisk) {
		this.retiredRisk = retiredRisk;
	}

	public BigDecimal getNotRetreatRisk() {
		return notRetreatRisk;
	}

	public void setNotRetreatRisk(BigDecimal notRetreatRisk) {
		if(notRetreatRisk==null){
			notRetreatRisk = new BigDecimal(0.00);
		}
		this.notRetreatRisk = notRetreatRisk;
	}

	public String getNamecn() {
		return namecn;
	}

	public void setNamecn(String namecn) {
		this.namecn = namecn;
	}

	public String getLoanapplyno() {
		return loanapplyno;
	}

	public void setLoanapplyno(String loanapplyno) {
		this.loanapplyno = loanapplyno;
	}

	public String getBankType() {
		return bankType;
	}

	public void setBankType(String bankType) {
		this.bankType = bankType;
	}

	public String getLoanType() {
		return loanType;
	}

	public void setLoanType(String loanType) {
		this.loanType = loanType;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getOperatorno() {
		return operatorno;
	}

	public void setOperatorno(String operatorno) {
		this.operatorno = operatorno;
	}

	public String getLtd() {
		return ltd;
	}

	public void setLtd(String ltd) {
		this.ltd = ltd;
	}

	public Date getPaydate() {
		return paydate;
	}

	public void setPaydate(Date paydate) {
		this.paydate = paydate;
	}
	
}
